package uk.ac.standrews.cs.cs2001.practical02.s110008568.impl;

import java.util.Date;

import uk.ac.standrews.cs.cs2001.practical02.interfaces.IBook;

public class Book implements IBook {

    private String title;
    private String author;
    private String isbn;
    private Date year;

    @Override
    public String getTitle() {
        return title;
    }

    @Override
    public String getAuthor() {
        return author;
    }

    @Override
    public String getISBN() {
        return isbn;
    }

    @Override
    public Date getPublicatiorDate() {
        return year;
    }

    public Book(String title, String author, String isbn, Date year) {
        this.title = title;
        this.author = author;
        this.isbn = isbn;
        this.year = year;
    }

}
